package com.dmm.user.mapper;

import com.dmm.user.entity.Summary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com/dmm
 * @since 2023-04-13
 */
public interface SummaryMapper extends BaseMapper<Summary> {

    @Select("SELECT * FROM `summary` where email=#{email} ORDER BY update_time desc LIMIT 1")
    Summary getcandidate(String email);
}
